package com.easy.query.demo.domain;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.ColumnIgnore;
import com.easy.query.core.annotation.Table;
import com.easy.query.demo.anno.Id4Trans;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * create time 2023/9/22 22:48
 * 文件说明
 *
 * @author xuejiaming
 */
@Table("sys_user")
@Data
public class SysUser implements TransPojo {
    @Id4Trans
    @Column(primaryKey = true)
    private String id;
    private String name;
    @Trans(type = TransType.DICTIONARY,key = "1")
    private String sex;
    @Trans(type = TransType.DICTIONARY,key = "2")
    private String type;
}
